Public replication file for Gothreau & Haas, "A Replication and Extension of Willer et al. (2013) Overdoing Gender: A Test of the Masculine Overcompensation Thesis," forthcoming in the Journal of Experimental Political Science. 

This replication file is organized in two categories: data and scripts. All analyses with the exception of our minimum detectable effect size analysis (conducted in Stata) is conducted in the R programming language. A raw dataset is provided in .csv and Stata format. 
All tables and figures can be reproduced using the scripts below.

SCRIPTS
"Cleaning_Final.R" --> Creates cleanMTData.csv 

"T-Tests and BH Corrections_Final.R" --> Replication code for weighted t-tests and t-tests with Benjamini- Hochberg adjusted p-values; replicates Tables 1 and 2 in Main Text and Table C1 in Appendix. 

"Balance_Final.R" --> Replication code for balance table C2 in Appendix. 

"T-Tests_NewDVs_Final.R" --> Replication code for weighted t-tests with additional dependent variables; replicates Figure 1 in main text and Appendix Table C5.

"DemoTable_Final.R" --> Replication code for demographic Table C6 in Appendix.

"Unadjusted T-Tests_Final.R" --> Replication code for Figure 2 in Main Text. 

"Factor_Analytic_Final.R" --> Replication code for factor analysis, t-tests using factor scores; replicates Table C4, and C7-C11in the Appendix.

"Additional_Robustness_Final.R" --> Replication code for robustness analyses; replicates Tables C12-C22, and C24 and C25.

"Bivariate_Correlations_Final.R" --> Replication code for Figures C1-C5 in the Appendix.

"Extra_Final.R" --> Replication code for Table C23 in the Appendix.

"MDE.do" --> Replication code for Figures B1-B4 in the Appendix.

DATA
"CleanMTData.csv" --> Clean data file for analysis in .csv format (run Cleaning_Final.R code to generate this file) 

[9948.159] TESS 159 Gothreau_FinalWtd.dta --> Raw data file in .dta format